package com.demo.controller;

import com.demo.service.StudentService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ContextController {

    @RequestMapping("/context")
    public String context(){
        StudentService studentService = new StudentService();
        studentService.dostudent();
        return "success";
    }
}

